package com.hgw.Demo03_AbstractFactory.abstract_factory;

/**
 * Data time:2021/12/12 13:12
 * StudentID:2019112118
 * Author:hgw
 * Description: 意大利风味，充当具体工厂
 */
public class ItalyDessertFactory implements DessertFactory{
    @Override
    public Coffee createCoffee() {
        return new LatteCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new Tiramisu();
    }
}
